<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:include page="/resources/admin/view/main/header.jsp"/>

<!-- business code start -->

<form id="frm_dealer" action="index.html" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
	<input type="hidden" name="dealerUuid" id="uu_id">
    <tr>
        <td width="10%" class="tableleft">店主名称</td>
        <td><input type="text" name="dealerName" id="dealer_name"/></td>
    </tr>
    <tr>
        <td width="10%" class="tableleft">店铺名称</td>
        <td><input type="text" name="dealerShop" id="dealer_shop"/></td>
    </tr>
    <tr>
        <td class="tableleft">身份证号</td>
        <td><input type="text" name="identityCard" id="identityCard"/></td>
    </tr>
    <tr>
        <td class="tableleft">座机</td>
        <td><input type="text" name="dealerTelephone" id="dealer_telephone"/></td>
    </tr>
    <tr>
        <td class="tableleft">手机</td>
        <td><input type="text" name="dealerPhone" id="dealer_phone"/></td>
    </tr>
    <tr>
        <td class="tableleft">省</td>
        <td><input type="text" name="province" id="province"/></td>
    </tr>
    <tr>
        <td class="tableleft">市</td>
        <td><input type="text" name="city" id="city"/></td>
    </tr>
    <tr>
        <td class="tableleft">区/县</td>
        <td><input type="text" name="county" id="county"/></td>
    </tr>
    <tr>
        <td class="tableleft">乡镇</td>
        <td><input type="text" name="village" id="village"/></td>
    </tr>
    <tr>
        <td class="tableleft">地址</td>
        <td><input type="text" name="address" id="address"/></td>
    </tr>
    <tr>
        <td class="tableleft">营业时间</td>
        <td><input type="text" name="businessOurs" id="businessOurs"/></td>
    </tr>
    <tr>
        <td class="tableleft">GPS经度</td>
        <td><input type="text" name="longitude" id="longitude"/></td>
    </tr>
    <tr>
        <td class="tableleft">GPS纬度</td>
        <td><input type="text" name="latitude" id="latitude"/></td>
    </tr>
    <tr>
        <td class="tableleft">授权号</td>
        <td><input type="text" name="dealerNum" id="dealer_num"/></td>
    </tr>
    <tr>
        <td class="tableleft">等级</td>
        <td>
        	<select name="level" id="level">
        		<option value = '1' id="level_1">金牌</option>
        		<option value = '2' id="level_2">银牌</option>
        		<option value = '3' id="level_3">铜牌</option>
        	</select>
        </td>
    </tr>
    <tr>
        <td class="tableleft">网点类型</td>
        <td>
        	<select name="dealerType" id="dealer_type">
        		<option value = '1' id="dealer_type_1">虚拟网点</option>
        		<option value = '2' id="dealer_type_2">实体网点</option>
        		<option value = '3' id="dealer_type_3">合作网点</option>
        	</select>
        </td>
    </tr>
    <tr>
        <td class="tableleft">累计业务量</td>
        <td><input type="text" name="businessVolume" id="business_volume"/></td>
    </tr>
    <tr>
        <td class="tableleft">邮箱地址</td>
        <td><input type="text" name="dealerEmail" id="dealer_email"/></td>
    </tr>
    <tr>
        <td class="tableleft"></td>
        <td>
            <button id="tbn_update" type="button" class="btn btn-primary" type="button">修改</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>
<!-- business code end -->

<jsp:include page="/resources/admin/view/main/footer.jsp"/>

<script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="<%=request.getContextPath()%>/resources/admin/view/udwin/dealer/listDealer.jsp";
		 });

    });
</script>

<script src="<%=request.getContextPath()%>/resources/admin/js/business/udwin/dealer/dealer.js"></script>
